import React from "react";
import ReactDOM from 'react-dom/client';
import {ConfigProvider} from "antd";
import zhCN from 'antd/es/locale/zh_CN';
import {
    HashRouter as Router
} from "react-router-dom";
import {
    Provider
} from "react-redux";
import App from "@/App";
import store from "@/store";

ReactDOM.createRoot(document.querySelector('#root') as Element).render(
    /*配置分页5/页 为中文，之前默认是英文*/
    <ConfigProvider locale={zhCN}>
        <Router>
            <Provider store={store}>
                <App/>
            </Provider>
        </Router>
    </ConfigProvider>

)
